package com.headingsoft.jxc.domain;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import javax.validation.constraints.Size;
import com.headingsoft.jxc.domain.Department;
import javax.persistence.ManyToOne;

@RooJavaBean
@RooToString
@RooEntity
public class Employee {

    private String name;

    private String password;

    private String email;

    private String qq;

    @Size(max = 600)
    private String address;

    private float salary;

    @ManyToOne
    private Department department;
}
